onOffice\WPlugin\ScriptLoader\ScriptLoaderGenericConfigurationDefault B

Total Complexity 77
Dependencies 6
Dependents 0
Total lines 507
Lines of code 297
Logical lines of code 149
Comment lines 118
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
addScripts()
A
51 17 23
renderScriptForFormPage()
A
44 8 43
getShortcodeByPostMeta()
A
52 9 23
getOnOfficeStyleVersion()
A
50 8 30
getStyleUriByVersion()
S
54 5 22
getFormsByPageContent()
S
54 4 20
renderStyleForEstateDetailPage()
S
59 4 14
isEstateListPage()
S
69 4 6
isAddressListPage()
S
69 4 6
getScriptLoaderGenericConfiguration()
S
51 2 25
renderScriptForEstateListPage()
S
53 1 24
renderScriptForEstateDetailPage()
S
64 1 10
localizeFormPreviewScript()
S
64 1 9
checkCaptchaActive()
S
73 1 5
renderScriptForAddressDetailPage()
S
64 1 10
extractFormNames()
S
75 1 4
checkFormType()
S
72 1 5
matchesShortcode()
S
73 1 4
isFormPage()
S
78 1 3
isDetailAddressPage()
S
78 1 3
isDetailEstatePage()
S
78 1 3
localizeApplyThousandSeparatorScript()
S
73 1 5